<?php
	error_reporting(E_ALL|E_STRICT);
	ini_set('display_errors', 1);
	date_default_timezone_set('Europe/Paris');

	require_once 'Zend/Soap/Client.php';

	$login = $_GET['login'];
	$password = $_GET['password'];
	echo 'Login: ' . $login . '<br />Password: ' . $password . '<br />';
	$client = new Zend_Soap_Client("http://localhost/nuitdelinfo/index/wsdl?wsdl", array('encoding' => 'UTF-8'));
	$response = $client->login('toto', 'test');
	var_dump($response);

	echo '<br />R&eacute;sultat : ' . $response;
?>
